package com.stox.client.ui.javafx.chartingy.persistence.chart.dto;

import java.io.Serializable;

import com.stox.client.ui.javafx.chartingy.model.shape.ControlPoint;

public class ControlPointDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private double price;
	private long date;
	
	public ControlPointDTO() {
		
	}
	
	public ControlPointDTO(ControlPoint controlPoint) {
		price = controlPoint.getPrice();
		date = controlPoint.getDate();
	}
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public long getDate() {
		return date;
	}
	public void setDate(long date) {
		this.date = date;
	}
	
}
